#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
	//使用system call

	const char* str1 = "i am write\n";
	write(1,str1,strlen(str1));

	//使用C函数
	const char* str2 = "i am fprintf\n";
	fprintf(stdout,"%s",str2);

	const char* str3 = "i am fwrite\n";
	fwrite(str3,strlen(str3),1,stdout);

	//在此处fork
	fork();
	return 0;
}
